
#ifndef _MEMBER_BSTROLLCONTROL_H_
#define _MEMBER_BSTROLLCONTROL_H_

#include <BViewer>
#include <BCamera>
#include <BStrollControl>

#define strollcontrol_member(strollcontrol)		((member_BStrollControl*)((BStrollControl*)strollcontrol)->_ptr)

namespace BWE
{
	class member_BStrollControl
	{
	public:
		member_BStrollControl(BStrollControl* controlder);
		~member_BStrollControl();

	public:
		BStrollControl*		boss;
		double				time;
		float				moveSpeed;
		float				rotateStep;
		bool				wDown;
		bool				sDown;
		bool				aDown;
		bool				dDown;
		bool				qDown;
		bool				zDown;
		bool				middleDown;
		bool				rightDown;
		BPoint				rightDownPos;
		BPoint				rightDownGlobalPos;
	};
}

#endif
